<template>
  <a-card :bordered="false" class="card-area">

    <!-- 查询区域 11111-->
    <div class="table-page-search-wrapper">
      <a-form layout="inline" :labelCol="{span: 5}" @keyup.enter.native="searchQuery">
        <a-row :gutter="24">
          <a-col :md='6' :sm='8'>
            <a-form-item label='统计日期'>
              <j-date  v-model="queryParam.reportDay" placeholder="请选择日期" ></j-date>
            </a-form-item>
          </a-col>
          <a-col :md="6" :sm="8">
            <a-form-item label="医生">
              <a-input placeholder="请输入医生" v-model="queryParam.eyName"></a-input>
            </a-form-item>
          </a-col>
          <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
           <a-col :md="6" :sm="24">
               <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
               <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
           </a-col>
        </span>
        </a-row>
      </a-form>
    </div>

    <!-- 操作按钮区域 -->
    <!-- table区域-begin -->
    <div>
      <a-table
        ref="table"
        size="middle"
        bordered
        rowKey="id"
        :columns="columns"
        :dataSource="dataSource">
      </a-table>
    </div>
  </a-card>
</template>

<script>
  import JDate from '@comp/jeecg/JDate'
  import { getAction } from '@api/manage'
  import { JeecgListMixin } from '@/mixins/JeecgListMixin'

  export default {
    name: "DepartList",
    mixins:[JeecgListMixin],
    components: {
      JDate,
    },
    data () {
      return {
        description: '机构服务工单处理页面',
        // 查询条件
        height: 400,
        dataSource:[],
        dataSourcePie:[],
        dataSourceBar:[],
        // 表头
        columns: [
          {
            title: '统计日期',
            align:"center",
            dataIndex: 'reportDay'
          },
          {
            title: '医生',
            align:"center",
            dataIndex: 'eyName'
          },{
            title: '随访次数',
            align:"center",
            dataIndex: 'count'
          },
          {
            title: '上门数量',
            align:"center",
            dataIndex: 'count2'
          },
          {
            title: '门诊数量',
            align:"center",
            dataIndex: 'count2'
          },
          {
            title: '预警服务次数',
            align:"center",
            dataIndex: 'count2'
          },
          {
            title: '测评回访数',
            align:"center",
            dataIndex: 'count2'
          },
        ],
        url: {
          list: "/report/work/dashboard/day/list",
        },
      }
    },
    computed: {
    },
    created() {

    },
    methods: {

    }
  }
</script>
<style scoped>
  @import '~@assets/less/common.less'
</style>